Redbrook Technology

Redbrook Technology MS Access to VB.NET Forms and Code Converter V1.3

Before installing and using the Redbrook Technology MS Access to VB.NET Converter, please read the End User Licence Agreement as shown at the bottom of this readme file.

Description:
The Redbrook Technology Access converter is designed to greatly reduce the time required to convert MS Acess forms and code to VB.NET source code. Once the automated conversion process is complete, the source .vb files need to be added into a VB.NET windows forms project. 
Two extra files will also be copied to the file output folder, namely App.config and modCompatibility.vb. These should be added into your conversion project. The file modCompatibility.vb contains many functions that will be useful in your conversion project, such as DLookup, EcecuteNonQuery etc.
The App.config file contains a placeholder for your SQL database connection string.


By default, DAO code in the Access modules will be converted to ADO.NET. This can be disabled in the options menu, if you wish to use a manual conversion method for DAO.

When first installed, the Redbrook Technology Access Converter will be in demonstration mode, and will only convert 5 of your forms and code modules.

To unlock the Redbrook Technology Converter, please purchase an unlock code at http://www.redbrooktech.com/AccessConverter.html
You will be sent the code by email



New features in V1.3:
Better declaration translation
User interface enhancements - log panel
a few bug fixes to form conversion routines

New features in V1.2:
Support for accb files.
Will now convert DAO to generic Data Access Layer. This makes resulting code more readable.
Option added to initialise all strings as String.empty
A project file is created for objects that have been converted - just click on it to open the project in the .NET IDE.

Bug Fixes in V1.2:
Removed bug where ()  chars were added to end of procedure declarations.
Improved ADO.NET conversion routines.
Continuous forms with no code module now have navigation code added, if required.

New feaures in V1.1:
Navigation buttons are added for bound forms 
DataGrid bindings and navigation code is now added for continuous forms
DataBindings are added for controls within a bound form (see Form_Load)
DoCmd.OpenForm is now converted
Form OpenArgs Property is Converted to Public property propOpenArgs. This allows converted Me.OpenArgs references to continue to work. (OpenArgs declared at Form Level)
Toggle buttons are now converted to Radio button - 'Button Style'
Improved general efficiency of conversion


Bug Fixes in V1.1:
Fixed bug where controls were not placed correctly for Standard forms with headers and footers
Radio buttons were not placed correctly within Group boxes
Controls within tab pages were not placed at correct width from edge
Setting of default properties on Text boxes is greatly improved (previously appended recordset field names with .Text, if same as a text box name)
DAO to ADO.NET conversion engine improved


Tips for conversion:
Make sure that your MDB file has no password ,and that it is of the correct version for the Redbrook Technology Converter. 
Make sure that you have renamed the Autoexec Macro to something else e.g. XAutoexec - otherwise this macro will attempt to execute during conversion, causing Redbrook Technology to fail.

When first importing a .vb file into a project, globally replace all of the double brackets in the source. It is a known bug that double brackets are appended to Function definition lines, and must be removed before compilation.

After adding the .vb file to the project in the IDE, select all the code (CTRL + A), and press the tab key. This will force the IDE to group the form definition code into easily readable blocks.




Hardware and Software Requirements

PC with a Pentium II-class processor, 450 MHz
Recommended: Pentium III-class, 600MHz

With at least 128 MB RAM

10MB free on hard drive

Windows 2000, XP, Windows Server 2003 or later

.NET Framework 3.5 or later

.NET SDK, or .NET IDE (Integrated Development Environment) required to build projects

MS Access 2007 full version

    

Redbrook Technology End User Licence Agreement

YOU SHOULD CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS BEFORE USING THIS PRODUCT. IT CONTAINS SOFTWARE, THE USE OF WHICH IS LICENSED BY Redbrook Technology, TO ITS CUSTOMERS FOR THEIR USE ONLY AS SET FORTH BELOW. IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF THIS AGREEMENT, DO NOT USE THE SOFTWARE. USING ANY PART OF THE SOFTWARE INDICATES THAT YOU ACCEPT THESE TERMS.

GRANT OF LICENSE: Redbrook Technology (the "Licensor") grants to you this personal, limited, non-exclusive, non-transferable, non-assignable license solely to use in a single copy of the Licensed Works on a single computer for use by a single concurrent user only, and solely provided that you adhere to all of the terms and conditions of this Agreement. The foregoing is an express limited use license and not an assignment, sale, or other transfer of the Licensed Works or any Intellectual Property Rights of Licensor.

ASSENT: By opening the file package containing this software, you agree that this Agreement is a legally binding and valid contract, agree to abide by the intellectual property laws and all of the terms and conditions of this Agreement, and further agree to take all necessary steps to ensure that the terms and conditions of this Agreement are not violated by any person or entity under your control or in your service.

OWNERSHIP OF SOFTWARE: The Licensor and/or its affiliates or subsidiaries own certain rights that may exist from time to time in this or any other jurisdiction, whether foreign or domestic, under patent law, copyright law, publicity rights law, moral rights law, trade secret law, trademark law, unfair competition law or other similar protections, regardless of whether or not such rights or protections are registered or perfected (the "Intellectual Property Rights"), in the computer software and hardware, together with any related documentation (including design, systems and user) and other materials for use in connection with such computer software in this package (collectively, the "Licensed Works"). ALL INTELLECTUAL PROPERTY RIGHTS IN AND TO THE LICENSED WORKS ARE AND SHALL REMAIN IN LICENSOR.


RESTRICTIONS:

(a) You are expressly prohibited from copying, modifying, merging, selling, leasing, redistributing, assigning, or transferring in any matter, Licensed Works or any portion thereof.

(b) You may take a single copy of materials within the package or otherwise related to Licensed Works only as required for backup purposes.

(c) You are also expressly prohibited from reverse engineering, decompiling, translating, disassembling, deciphering, decrypting, or otherwise attempting to discover the source code of the Licensed Works as the Licensed Works contain proprietary material of Licensor. You may not otherwise modify, alter, adapt, port, or merge the Licensed Works.

(d) You may not remove, alter, deface, overprint or otherwise obscure Licensor patent, trademark, service mark or copyright notices.

(e) You agree that the Licensed Works will not be shipped, transferred or exported into any other country, or used in any manner prohibited by any government agency or any export laws, restrictions or regulations.

(f) You may not publish or distribute in any form of electronic or printed communication the materials within or otherwise related to Licensed Works, including but not limited to the object code, documentation, help files, examples, and benchmarks.

TERM: This Agreement is effective until terminated. You may terminate this Agreement at any time by uninstalling the Licensed Works and destroying all copies of the Licensed Works. Upon any termination, you agree to uninstall the Licensed Works and return or destroy all copies of the Licensed Works, any accompanying documentation, and all other associated materials.

GOVERNING LAW: This License Agreement shall be governed by the laws of the United Kingdom of Great Britain. The United Nations Convention on Contracts for the International Sale of Goods (1980) is hereby excluded in its entirety from application to this License Agreement.

WARRANTIES AND DISCLAIMER:

EXCEPT AS EXPRESSLY PROVIDED OTHERWISE IN A WRITTEN AGREEMENT BETWEEN LICENSOR AND YOU, THE LICENSED WORKS ARE NOW PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OR THE WARRANTY OF NON-INFRINGEMENT. WITHOUT LIMITING THE FOREGOING, LICENSOR MAKES NO WARRANTY THAT (i) THE LICENSED WORKS WILL MEET YOUR REQUIREMENTS, (ii) THE USE OF THE LICENSED WORKS WILL BE UNINTERRUPTED, TIMELY, SECURE, OR ERROR-FREE, (iii) THE RESULTS THAT MAY BE OBTAINED FROM THE USE OF THE LICENSED WORKS WILL BE ACCURATE OR RELIABLE, (iv) THE QUALITY OF THE LICENSED WORKS WILL MEET YOUR EXPECTATIONS, (v) ANY ERRORS IN THE LICENSED WORKS WILL BE CORRECTED, AND/OR (vi) YOU MAY USE, PRACTICE, EXECUTE, OR ACCESS THE LICENSED WORKS WITHOUT VIOLATING THE INTELLECTUAL PROPERTY RIGHTS OF OTHERS. SOME STATES OR JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES OR LIMITATIONS ON HOW LONG AN IMPLIED WARRANTY MAY LAST, SO THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU. IF CALIFORNIA LAW IS NOT HELD TO APPLY TO THIS AGREEMENT FOR ANY REASON, THEN IN JURISDICTIONS WHERE WARRANTIES, GUARANTEES, REPRESENTATIONS, AND/OR CONDITIONS OF ANY TYPE MAY NOT BE DISCLAIMED, ANY SUCH WARRANTY, GUARANTEE, REPRESENATION AND/OR WARRANTY IS: (1) HEREBY LIMITED TO THE PERIOD OF EITHER (A) THIRTY (30) DAYS FROM THE DATE OF OPENING THE PACKAGE CONTAINING THE LICENSED WORKS OR (B) THE SHORTEST PERIOD ALLOWED BY LAW IN THE APPLICABLE JURISDICTION IF A THIRTY (30) DAY LIMITATION WOULD BE UNENFORCEABLE; AND (2) LICENSOR'S SOLE LIABILITY FOR ANY BREACH OF ANY SUCH WARRANTY, GUARANTEE, REPRESENTATION, AND/OR CONDITION SHALL BE TO PROVIDE YOU WITH A NEW COPY OF THE LICENSED WORKS.

IN NO EVENT SHALL LICENSOR OR ITS SUPPLIERS BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING, WITHOUT LIMITATION, THOSE RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER OR NOT LICENSOR HAD BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE LICENSED WORKS. SOME JURISDICTIONS PROHIBIT THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES, SO THE ABOVE LIMITATIONS MAY NOT APPLY TO YOU. THESE LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.

SEVERABILITY: In the event any provision of this License Agreement is found to be invalid, illegal or unenforceable, the validity, legality and enforceability of any of the remaining provisions shall not in any way be affected or impaired and a valid, legal and enforceable provision of similar intent and economic impact shall be substituted therefor.

ENTIRE AGREEMENT: This License Agreement sets forth the entire understanding and agreement between you and Redbrook Technology, supersedes all prior agreements, whether written or oral, with respect to the Software, and may be amended only in a writing signed by both parties.

 
